package com.ly.honor.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ly.honor.entity.Game;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ly.honor.entity.dto.GameCreatDTO;
import com.ly.honor.entity.dto.GameEditDTO;
import com.ly.honor.entity.dto.GameQueryDTO;
import com.ly.honor.entity.vo.GameQueryVO;

import java.util.List;

/**
* @author 17798
* @description 针对表【bs_game】的数据库操作Service
* @createDate 2022-11-16 11:49:49
*/
public interface GameService extends IService<Game> {

    Page<GameQueryVO> getGamePageList(long pageNum, long pageSize, GameQueryDTO gameQueryDTO);

    GameQueryVO getGameById(long id);

    void insertGame(GameCreatDTO gameCreatDTO);

    void updateGame(GameEditDTO gameEditDTO);

    void removeGameById(long id);

    List<Game> getGameListDesc();
}
